/**
 * 此指令在ion-footer-bar中使用。
 */
APP.directive('bottomTab', ['$rootScope', '$state', '$ionicScrollDelegate', '$timeout',
  function ($rootScope, $state, $ionicScrollDelegate, $timeout) {
    return {
      restrict: 'E',
      replace: true,
      scope: {
        tabNav: '='
      },
      template: '<div class="width-100 overflow-h" ng-include="\'templates/common/Tab.html\'"></div>'
    }
  }]);
